<!DOCTYPE html>
<html>
<head>
	<?php foreach($page as $page_rec): ?>
		<title><?php echo $title." | ".$page_rec['jonu_pages_title'] ?></title>
	<?php endforeach; ?>	
	<?php $this->load->view('assets-importer'); ?>
</head>
<body>
	<?php $this->load->view('nav'); ?>
	<div id="outer">
		<div class="container">
			<?php 
			$notif = $this->session->flashdata('notif');
			$status = $this->session->flashdata('notif_status');
			?>
			<?php if($status != ""): ?>
				<?php if($status == "0"): ?>
					<div class="notif notif-gagal"><?php echo $notif ?></div>
				<?php endif; ?>
				<?php if($status == "1"): ?>
					<div class="notif notif-sukses"><?php echo $notif ?></div>
				<?php endif; ?>
			<?php endif; ?>
			
			<div id="main-content">		
				<?php if(get_cookie("c_usr_status") != "" && get_cookie("c_usr_status") != "verified"): ?>
					<div class="notif notif-gagal" style="text-align: center">
					<?php if(get_cookie("c_usr_status") == "blocked"): ?>
						This user currently blocked
					<?php elseif(get_cookie("c_usr_status") == "not verified"): ?>
						This user still not verified yet
					<?php endif; ?>
					</div>
				<?php endif; ?>
				
				<?php print_r($page) ?>
			</div>
			<?php $this->load->view('sidebar'); ?>
		</div>	
		<div class="container credit">
			Copyright &copy; 2015. <a href="<?php echo site_url() ?>">Jogja Nuws</a>.
		</div>	
	</div>
</div>
</body>
</html>